package com.hdu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 老师职称类型枚举
 *
 * @author xiaobai
 * @since 2023/11/1
 */
@Getter
public enum CareerLabel {

    TEACHER(1, "普通教师"),
    CHARGE(2, "班主任"),
    STUDY(3, "教研组长"),
    SENIOR(4, "年级组长"),
    GRADE(5, "年纪主任"),
    DEAN(6, "教导主任"),
    PRINCIPAL(7, "校长");

    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    CareerLabel(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
